<div class="modal-header">  
	选择模板项
</div>


<div class="modal-body">
<div class="container-fluid">

<ul class="nav nav-tabs" role="tablist">
  <li role="presentation"
  	ng-repeat='item in arr'
    ng-class="{true: 'active'}[$index == 0]"
  >
  	<a href="#tab{{$index}}" role="tab" data-toggle="tab">
  		{{item.remark}}
  	</a>
  </li>
</ul>

<!-- Tab panes -->
<div class="tab-content">
  <div role="tabpanel" class="tab-pane" 
  ng-class="{true: 'active'}[$index == 0]"
  id="tab{{$index}}"
  ng-repeat="item in arr"
  >

  	<div class="col-sm-3 mt10"
  	ng-repeat="obj in item.data"
  	style="height: 90px; overflow: hidden;"
  	>
  		<div class="input-group m-b">
          <span class="input-group-addon">
            <input type="checkbox" 
            ng-model="checkres[obj.column_name]"
            ng-true-value="'yes'" 
            ng-false-value="'no'"
            >
          </span>
          <input type="text" class="form-control" 
          	ng-model="res[obj.column_name]"
          >
        </div>
        <span class="help-block m-b-none" title={{obj.column_comment}}
        data-animation="{delay:{show:0}}"
        >
        	<span class="text-success">{{obj.column_name}}</span> : 
        	<span class="text-primary">{{obj.column_comment}}</span>
        </span>

  	</div>
</div>


</div>
</div>


<div class="modal-footer mt10">
	<button class="btn  btn-success" ng-click="ok()">提交</button>
	<button class="btn  btn-warning" ng-click="cancel()">取消</button>
</div>

